package com.ecspace.knowledgegraphapi.domain.dto;

public class NodeRelationDTO {

    private String id;

    private String name;

    private String fromId;

    private String toId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFromId() {
        return fromId;
    }

    public void setFromId(String fromId) {
        this.fromId = fromId;
    }

    public String getToId() {
        return toId;
    }

    public void setToId(String toId) {
        this.toId = toId;
    }

    @Override
    public String toString() {
        return "NodeRelationDTO{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", fromId='" + fromId + '\'' +
                ", toId='" + toId + '\'' +
                '}';
    }
}
